// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 通过类型获取字典数据列表 POST /fds/common/getDicDataList */
export async function getDicDataListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getDicDataListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult26>('/fds/common/getDicDataList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 获取所有字典类型列表 POST /fds/common/getDicTypeList */
export async function getDicTypeListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getDicTypeListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult27>('/fds/common/getDicTypeList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
